package kr.hkit.androidcomplete01.ch06;

import kr.hkit.androidcomplete01.R;
import android.app.Activity;
import android.os.Bundle;
import android.widget.Button;
import android.widget.EditText;
import android.widget.LinearLayout;

public class CodeLayout2 extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ch06_codelayoutex);
		
		LinearLayout MyLinear = (LinearLayout) findViewById(R.id.mylinear);
		MyLinear.setOrientation(LinearLayout.HORIZONTAL);
		
		Button MyBtn = (Button) findViewById(R.id.mybutton);
		MyBtn.setTextSize(40);
		
		EditText MyEdit = (EditText) findViewById(R.id.myedit);
		MyEdit.setBackgroundColor(0xff00ff00);		
	}
}
